package com.gym.code.generator.model.mapping.layer.service;

import com.gym.code.generator.utils.LocalStringUtils;


/**
 * 
 * @author xinchun.wang 
   @email: 532002108@qq.com
 * @createTime 2015-4-11 下午1:39:23
 */
public class ServiceLayerGenerateModel extends IServiceLayerGenerateModel {
	private String daoClassName;
	private String daoFaceName;
	private String serviceName;

	public String getDaoClassName() {
		return daoClassName;
	}

	public void setDaoClassName(String daoClassName) {
		this.daoClassName = daoClassName;
	}


	public String getDaoFaceName() {
		return daoFaceName;
	}
	
	public String getDaoFaceNameLower() {
		return LocalStringUtils.toFirstLetterLower(daoFaceName);
	}

	public void setDaoFaceName(String daoFaceName) {
		this.daoFaceName = daoFaceName;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	@Override
	protected String getFileName() {
		return serviceName;
	}
	@Override
	public String getPackageName() {
		return packagePath  + ".service.impl";
	}
}
